-
Notifications
You must be signed in to change notification settings - Fork 22
feature: Add Gemini translation engine using custom engine and fix threading in one_key_translate (the max_worker is now 5 by default) #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…reading in one_key_translate (the max_worker is now 5 by default)
|
How do I add this to renpy translator? |
|
the curent version of the engine Google is old and a very bad version. How can I add the new Google API engine ? |
clone this repository -> gh pr checkout 76 -> python src/main.py @huseyin0072 |
I am afraid I have no idea what the api is, but this is how I do it. There is a custom engine option in renpy-translator, and you need to write an api in src/custom_engine (e.g. write something like _new_google.py). It's very simple so you can let AI to do that if you don't know how to write code. @scholastique237 |
|
Thank you. I tried with the help of ChatGPT because I'm not very good at Python. Unfortunately, I wasn't successful despite many attempts. The API doesn't work at all, even though it works in the Translator++ software, if you're familiar with it. The address used is: https://translate-pa.googleapis.com/v1/translateHtml |
|
@scholastique237 I've added an issue here, you can try it out #77 |
|
Thank you very much, it works perfectly. Your work is excellent, and I truly admire you for sharing it for free as well. I hope that in the future, I'll be able to help and contribute without bothering you like I am now. Thank you again. |
|
Can you show me how to add single key translation and gemini api to renpy translator in video form? |
|
I tried to translate in another language than english (I tried french) but it return : log is too large, only show last 1000 lines |
No description provided.